package com.daisuxia.ts.utils;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.daisuxia.web.pojo.BorrowOrder;

public class SyUtils {
	public static String changeStatus(Integer status2) {
		if (status2.intValue() == BorrowOrder.STATUS_HKZ.intValue() || status2.intValue() == BorrowOrder.STATUS_BFHK.intValue()
				|| status2.intValue() == BorrowOrder.STATUS_YHK.intValue() || status2.intValue() == BorrowOrder.STATUS_YQYHK.intValue()
				|| status2.intValue() == BorrowOrder.STATUS_YHZ.intValue() || status2.intValue() == BorrowOrder.STATUS_KKZ.intValue()
				|| status2.intValue() == BorrowOrder.STATUS_YYQ.intValue()) {
			status2 = 3;
		} else if (status2.intValue() == BorrowOrder.STATUS_FKSB.intValue()) {
			status2 = 4;
		} else if (status2.intValue() == BorrowOrder.STATUS_DCS.intValue()) {
			status2 = 0;
		} else if (status2.intValue() == BorrowOrder.STATUS_CSTG.intValue() || status2.intValue() == BorrowOrder.STATUS_FSTG.intValue()
				|| status2.intValue() == BorrowOrder.STATUS_FKZ.intValue()) {
			status2 = 1;
		} else {
			status2 = 2;
		}
		return status2 + "";
	}
}
